<!doctype html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!--[if gt IE 8]> <html class="no-js" lang="en"> 		   <![endif]-->
<html>
  <head>
    <?php $this->load->view('admin/_html_head')?>
  </head>
  <body>
    <div id="container">
      <section id="content">	
        <?php $this->load->view('admin/_noscript')?>
        <?php $this->load->view('admin/_topbar')?>
        <?php $this->load->view('admin/_subbar')?>        
        <div id="content-body">
          <?php $this->load->view('admin/_alert')?>
          <div id="sortable">
            <div class="one_half">
              <section class="title">
                <h4><?php echo $this->lang->line('label.recent.users')?></h4>
              </section>
              <section class="item">
                <ul>
                  <?php foreach($recent_users as $user) { ?>
                  <li>
                    <div class="date">
                      <span class="month"><?php echo !empty($user->created_on) ? date('Y', $user->created_on) : ''?></span>
                      <span class="day"><?php echo !empty($user->created_on) ? date('d-m', $user->created_on) : ''?></span>
                    </div>
                    <h4>
                      <a href="<?php echo site_url('admin/user/edit/'.$user->id)?>" title="<?php echo $this->lang->line('label.user.edit',$user->display_name)?>">
                              <?php echo $user->display_name?>
                      </a>
                    </h4>
                  </li>
                  <?php } ?>
                </ul>
              </section>
            </div>		
            <div class="one_half last">
              <section class="draggable title">
                <h4><?php echo $this->lang->line('label.quick.links')?></h4>
              </section>
              <section id="quick_links" class="item 1">
                <ul>
                  <li>
                    <a class="tooltip-s" title="<?php echo $this->lang->line('label.feedback.manage')?>" 
                       href="<?php echo site_url('admin/feedback')?>">
                      <img src="<?php echo base_url() . APPPATH?>themes/admin/img/icons/pages.png" alt="icons/pages" />
                    </a>
                  </li>
                  <li>
                    <a class="tooltip-s" title="<?php echo $this->lang->line('label.files.manage')?>" 
                       href="<?php echo site_url('admin/file_upload')?>">
                      <img src="<?php echo base_url() . APPPATH?>themes/admin/img/icons/files.png" alt="icons/files" />
                    </a>
                  </li>
                  <li>
                    <a class="tooltip-s" title="<?php echo $this->lang->line('label.users.manage')?>" 
                       href="<?php echo site_url('admin/user')?>">
                      <img src="<?php echo base_url() . APPPATH?>themes/admin/img/icons/users.png" alt="icons/users" />
                    </a>
                  </li>
                  <li>
                    <a class="tooltip-s" title="<?php echo $this->lang->line('label.settings.manage')?>" 
                       href="<?php echo site_url('admin/setting')?>">
                      <img src="<?php echo APPPATH?>themes/admin/img/icons/settings.png" alt="icons/settings" />
                    </a>
                  </li>
                </ul>
              </section>
            </div>
          </div>
        </div>
      </section>
    </div>
    <?php $this->load->view('admin/_footer')?>
  </body>
</html>